<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>栏目首页</title>
<style type="text/css">
*{padding: 0; margin: 0;}
table{border: 1px solid #aaa; width: 100%;float: right; border-right: none; border-bottom: none;}
td{ border-bottom: 1px solid #aaa; border-right: 1px solid #aaa;text-align: center;}
.tianjia{ width: 100px;height: 20px; display: block; background:#435471; text-align: center; color: #fff; text-decoration: none; line-height: 20px;}
a{ text-decoration: none; color: #333;}


	</style>
</head>
<body>
    
	<table cellspacing="0">
	    <tr><a href="?m=admin&c=category&a=add" class="tianjia">添加栏目</a></tr>
		<tr>
			<td>CID</td>
			<td>栏目名称</td>
			<td colspan="2">操作</td>
		</tr>
		{ly:section loop=$data name=d}
        <tr>
        	<td>{ly:$data[d].cid}</td>
        	<td>{ly:$data[d].catname}</td>
        	<td><a href="">编辑</a></td>
        	<td><a href="?m=admin&c=category&a=delete">删除</a></td>

        </tr>
        {ly:/section}


	</table>
</body>
</html>